/* 默认样式 */
body,html {
    height: 100%;
    background-color: var(--color-bg);
    margin: 0;
}
body{
    display: flex;
    flex-direction: column;
}
header{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 300px;
}
.container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    flex-grow: 1;
}

.bar ul{
    display: flex;
    display: flex;
    list-style-type: none; /* 移除列表默认样式 */
    padding: 0; /* 移除默认内外边距 */
}
.bar ul li{
    margin-right: 20px ;
}

a{
    color: var(--font-color-main);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-family: -apple-system;
}

a:hover{
    color: #1565c0;
    text-decoration: underline;
}
h1{
    color: var(--font-color-main);
    font-size: 32px;
    font-family: -apple-system;
}
h2{
    color: var(--font-color-main);
    font-size: 24px;
}
li{
    color: var(--font-color-main);
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center; /* 使文本居中 */
    height: 100%;
    margin-bottom: auto;
}
.p{
    width: 400px;
}
p{
    color: var(--font-color-main);
}
span{
    color: var(--font-color-main);
}
.fixed-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(to right,#7d7d7d 50%, #ededed 50%);
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.1s; /* 添加过渡效果 */
}

.fixed-button:hover {
    transform: scale(1.5); /* 鼠标悬停时放大按钮 */
}

.goals-table th,
.goals-table td {
    border: 3px solid var(--font-color-main);
    color: var(--font-color-main);
    padding: 8px;
    text-align: left;
}


/* 全局样式变量 */
:root{
    /* 背景色/边框颜色/主色/辅色/其他色 */
    --color-border:#deddee;
    --color-main:#ffae00;
    --color-auxiliary:#00ff11;
    --color-other:#00ffdd;
    --color-bg:#1f1f21;
    --font-color-main:#ffffff;
    --font-color-secondary:#ffffffb3;
    --font-color-auxiliary:#ffffff3b;
    /* 字号和字体颜色 */
    --font-root:1rem;
    --font-32px:2rem;
    --font-20px:1.25rem;
    --font-18px:1.125rem;
    --font-16px:1rem;
    --font-14px:.875rem;
    --font-12px:.75rem;
    --font-10px:.625rem;
    /* 层级 */
    --z-index10:10;
    --z-index100:100;
    --z-index1000:1000;
    /* 间距 */
    --spacing-2:.125rem;
    --spacing-4:.25rem;
    --spacing-6:.375rem;
    --spacing-8:.5rem;
    --spacing-10:.625rem;
    --spacing-12:.75rem;
    --spacing-14:.875rem;
    --spacing-16:1rem;
    --spacing-20:1.25rem;
    --spacing-24:1.5rem;
    --spacing-30:1.875rem;
    --spacing-40:2.5rem;
    --spacing-50:3.125rem;
    --spacing-60:3.75rem;
}
/* 集合属性（主题样式） */
[data-theme="dark"] {
    --color-bg:#212121;
    --color-btn:#ffffff;
    --color-btn-font:#333333;
    --color-border:#deddee;
    --color-main:#ffae00;
    --color-auxiliary:#00ff11;
    --color-other:#00ffdd;
    --font-color-main:#ffffff;
    --font-color-secondary:#ffffffb3;
    --font-color-auxiliary:#ffffff3b;
}
[data-theme="light"] {
    --color-bg:#ffffff;
    --color-btn:#000000;
    --color-btn-font:#ffffff;
    --color-border:#deddee;
    --color-main:#ffae00;
    --color-auxiliary:#00ff11;
    --color-other:#00ffdd;
    --font-color-main:#333333;
    --font-color-secondary:#777777;
    --font-color-auxiliary:#aaaaaa;
}

/**
字体图标样式
 */
.demo-icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: never;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
     font-size: 30px;

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* You can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
